<section class="scrollable padder-md" data-ng-controller="AdminLogListController">
    <div class="m-b-md">
        <h3 class="m-b-none text-black">
            <i class="fa fa-list m-r-sm"></i>日志管理
        </h3>
    </div>
    <!-- Toolbar 按钮栏 -->
    <section class="panel panel-default scrollable">
        <header class="panel-heading">
            <div class="row">
                <div class="col-sm-5">
                    <div class="od-head-title">日志列表</div>
                </div>
            </div>
        </header>

        <form class="form-inline" data-ng-submit="getObjList()">
            <div class="wrapper row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <input type="text"
                               class="input-sm form-control"
                               data-ng-model="queryObj.userName" placeholder="用户名">
                    </div>
                    <div class="form-group">
                        <select data-required="true"
                                class="input-sm form-control"
                                data-ng-model="queryObj.operatorType" >
                            <option value="" selected = "selected">操作类型</option>
                            <option value="新增" >--新增--</option>
                            <option value="修改">--修改--</option>
                            <option value="删除">--删除--</option>
                            <option value="登录">--登录--</option>
                            <option value="登出">--登出--</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <button class="form-control btn btn-sm btn-warning " type="submit">查询</button>
                    </div>
                </div>
            </div>
        </form>
        <!-- 表格部分 -->
        <div class="table-responsive">
            <table class="table table-striped b-t b-light">
                <thead>
                <tr>
                    <th>ID</th>
                    <!-- <th>用户ID</th> -->
                    <th>用户名</th>
                    <!-- <th>公司ID</th> -->
                    <th>公司名</th>
                    <th>操作时间</th>
                    <th>执行时间(毫秒)</th>
                    <th>操作模块</th>
                    <th>操作类型</th>
                    <!-- <th>返回结果</th> -->
                    <th>请求路径</th>
                    <th>请求参数</th>
                    <th>返回参数</th>
                    <!-- <th>描述</th> -->
                    <th>IP</th>
                    <th>操作系统</th>
                    <th>浏览器</th>
                </tr>
                </thead>
                <tbody>
                <tr data-ng-repeat="adminLog in adminLogList">
                    <td>{{adminLog.id}}</td>
                    <!-- <td>{{adminLog.userId}}</td> -->
                    <td>{{adminLog.userName}}</td>
                    <!-- <td>{{adminLog.companyId}}</td> -->
                    <td>{{adminLog.companyName}}</td>
                    <td>{{adminLog.operatorTime * 1000 | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                    <td>{{adminLog.executeTime}}</td>
                    
                    
                    
                    <td>{{adminLog.operatorModule}}</td>
                    <td>{{adminLog.operatorType}}</td>
                    <!-- <td>{{adminLog.responseParam}}</td> -->
                    <td>{{adminLog.requestPath}}</td>
                    <td><a href="javascript:void(0);" class="text-primary m-r-xs" data-ng-click="requestParam(adminLog.requestParam)">查看</a></td>
                    <td><a href="javascript:void(0);" class="text-primary m-r-xs" data-ng-click="responseParam(adminLog.responseParam)">查看</a></td>
                    <td>{{adminLog.ip}}</td>
                    <td>{{adminLog.os}}</td>
                    <td>{{adminLog.browser}}</td>
                    <!-- <td>{{adminLog.description}}</td> -->
                </tr>
                </tbody>
            </table>
        </div>

        <!-- 分页控件 -->
        <footer class="panel-footer">
            <div data-ng-include="'comm/pager/pager.html'"></div>
        </footer>
    </section>
</section>
